import mhttplib
    	
conn = mhttplib.HTTPConnection(host='www.baidu.com');
conn.request('get', '/');
print conn.getresponse().read();
conn.close();
